Simple_History\Helpers B

Total Complexity 99
Dependencies 6
Dependents 41
Total lines 1,189
Lines of code 502
Logical lines of code 238
Comment lines 551
Methods 42
Properties 0

Methods 42

Method Rating Maintainability Complexity Lines of code
text_diff()
A
41 13 55
is_on_our_own_pages()
A
54 14 19
interpolate()
S
56 5 19
get_callable_name()
S
58 5 15
privacy_anonymize_ip()
S
56 4 19
get_event_ip_number_headers()
S
56 4 19
get_current_screen()
S
56 3 20
get_num_events_per_day_last_n_days()
S
51 2 29
get_db_table_stats()
S
53 2 26
get_num_events_last_n_days()
S
53 2 23
get_unique_events_for_days()
S
55 2 21
required_tables_exist()
S
56 2 19
get_settings_section_title_output()
S
58 2 19
get_settings_field_title_output()
S
58 2 19
get_cache_incrementor()
S
65 3 9
disable_taxonomy_log()
S
63 2 12
add_settings_section()
S
61 2 12
log_debug_is_enabled()
S
78 2 3
dev_mode_is_enabled()
S
78 2 3
is_plugin_active()
S
70 2 6
sanitize_checkbox_input()
S
78 2 3
json_encode()
S
72 2 5
get_ip_number_header_names()
S
61 1 15
clear_log()
S
59 1 14
get_header_add_ons_link()
S
65 1 11
get_view_settings_capability()
S
70 1 6
setting_show_as_page()
S
72 1 5
db_has_data()
S
66 1 8
setting_show_on_dashboard()
S
72 1 5
is_valid_public_ip()
S
69 1 7
get_view_history_capability()
S
70 1 6
get_avatar()
S
67 1 7
get_clear_history_interval()
S
70 1 6
user_can_clear_log()
S
79 1 3
get_pager_size_dashboard()
S
70 1 6
get_pager_size()
S
72 1 5
camel_case_to_snake_case()
S
78 1 3
get_settings_page_tab_url()
S
72 1 5
ends_with()
S
78 1 3
get_class_short_name()
S
77 1 3
get_valid_ip_address_from_anonymized()
S
75 1 4
get_settings_page_sub_tab_url()
S
72 1 5